Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Lines | 7 |
Ratio | 100 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | View Code Duplication | "use strict"; |
|
32 | RateLimiter.prototype.timeLeft = function () { |
||
33 | var active = []; |
||
34 | this.rateLimits.forEach(function (rateLimit) { |
||
35 | active.push(rateLimit.getTimeLeft()); |
||
36 | }); |
||
37 | return active; |
||
38 | }; |
||
39 | return RateLimiter; |
||
42 | //# sourceMappingURL=ratelimiter.js.map |